package com.dmgis.hndz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 自动站信息表
 * @TableName qxca01a
 */
@TableName(value ="qxca01a")
@Data
public class Qxca01a implements Serializable {
    /**
     * 站点编号
     */
    @TableField(value = "qxca01a010")
    private String qxca01a010;

    /**
     * 站点名称
     */
    @TableField(value = "qxca01a020")
    private String qxca01a020;

    /**
     * 所属省
     */
    @TableField(value = "qxca01a030")
    private String qxca01a030;

    /**
     * 所属市
     */
    @TableField(value = "qxca01a040")
    private String qxca01a040;

    /**
     * 所属县
     */
    @TableField(value = "qxca01a050")
    private String qxca01a050;

    /**
     * 所属乡
     */
    @TableField(value = "qxca01a055")
    private String qxca01a055;

    /**
     * 经度
     */
    @TableField(value = "qxca01a060")
    private Integer qxca01a060;

    /**
     * 纬度
     */
    @TableField(value = "qxca01a070")
    private Integer qxca01a070;

    /**
     * 高程
     */
    @TableField(value = "qxca01a080")
    private Integer qxca01a080;

    /**
     * 站点类型
     */
    @TableField(value = "qxca01a090")
    private String qxca01a090;

    /**
     * 启用时间
     */
    @TableField(value = "qxca01a100")
    private LocalDateTime qxca01a100;

    /**
     * 等级
     */
    @TableField(value = "qxca01a110")
    private Integer qxca01a110;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Qxca01a other = (Qxca01a) that;
        return (this.getQxca01a010() == null ? other.getQxca01a010() == null : this.getQxca01a010().equals(other.getQxca01a010()))
            && (this.getQxca01a020() == null ? other.getQxca01a020() == null : this.getQxca01a020().equals(other.getQxca01a020()))
            && (this.getQxca01a030() == null ? other.getQxca01a030() == null : this.getQxca01a030().equals(other.getQxca01a030()))
            && (this.getQxca01a040() == null ? other.getQxca01a040() == null : this.getQxca01a040().equals(other.getQxca01a040()))
            && (this.getQxca01a050() == null ? other.getQxca01a050() == null : this.getQxca01a050().equals(other.getQxca01a050()))
            && (this.getQxca01a055() == null ? other.getQxca01a055() == null : this.getQxca01a055().equals(other.getQxca01a055()))
            && (this.getQxca01a060() == null ? other.getQxca01a060() == null : this.getQxca01a060().equals(other.getQxca01a060()))
            && (this.getQxca01a070() == null ? other.getQxca01a070() == null : this.getQxca01a070().equals(other.getQxca01a070()))
            && (this.getQxca01a080() == null ? other.getQxca01a080() == null : this.getQxca01a080().equals(other.getQxca01a080()))
            && (this.getQxca01a090() == null ? other.getQxca01a090() == null : this.getQxca01a090().equals(other.getQxca01a090()))
            && (this.getQxca01a100() == null ? other.getQxca01a100() == null : this.getQxca01a100().equals(other.getQxca01a100()))
            && (this.getQxca01a110() == null ? other.getQxca01a110() == null : this.getQxca01a110().equals(other.getQxca01a110()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getQxca01a010() == null) ? 0 : getQxca01a010().hashCode());
        result = prime * result + ((getQxca01a020() == null) ? 0 : getQxca01a020().hashCode());
        result = prime * result + ((getQxca01a030() == null) ? 0 : getQxca01a030().hashCode());
        result = prime * result + ((getQxca01a040() == null) ? 0 : getQxca01a040().hashCode());
        result = prime * result + ((getQxca01a050() == null) ? 0 : getQxca01a050().hashCode());
        result = prime * result + ((getQxca01a055() == null) ? 0 : getQxca01a055().hashCode());
        result = prime * result + ((getQxca01a060() == null) ? 0 : getQxca01a060().hashCode());
        result = prime * result + ((getQxca01a070() == null) ? 0 : getQxca01a070().hashCode());
        result = prime * result + ((getQxca01a080() == null) ? 0 : getQxca01a080().hashCode());
        result = prime * result + ((getQxca01a090() == null) ? 0 : getQxca01a090().hashCode());
        result = prime * result + ((getQxca01a100() == null) ? 0 : getQxca01a100().hashCode());
        result = prime * result + ((getQxca01a110() == null) ? 0 : getQxca01a110().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", qxca01a010=").append(qxca01a010);
        sb.append(", qxca01a020=").append(qxca01a020);
        sb.append(", qxca01a030=").append(qxca01a030);
        sb.append(", qxca01a040=").append(qxca01a040);
        sb.append(", qxca01a050=").append(qxca01a050);
        sb.append(", qxca01a055=").append(qxca01a055);
        sb.append(", qxca01a060=").append(qxca01a060);
        sb.append(", qxca01a070=").append(qxca01a070);
        sb.append(", qxca01a080=").append(qxca01a080);
        sb.append(", qxca01a090=").append(qxca01a090);
        sb.append(", qxca01a100=").append(qxca01a100);
        sb.append(", qxca01a110=").append(qxca01a110);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}